
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using Core;

public class HallScene : BaseScene
{
    protected override void OnInit(object arg)
    {
        var mainCamera = new GetMainCamera().Publish().mainCamera;
        var mainCameraPos = GetReference<Transform>("mainCameraPos");
        mainCamera.transform.position = mainCameraPos.transform.position;
        mainCamera.transform.rotation = mainCameraPos.transform.rotation;

    }
}
